package com.kinggm.util;

import lombok.Data;

@Data
public class PageInfo {

    // 当前页 默认1
    private int currentPage = 1;

    // 页大小 默认10
    private int pageSize = 10;

    // 总数
    private int totalNumber;

    public PageInfo(){

    }

    public PageInfo(int currentPage,int pageSize){
        this.currentPage = currentPage;
        this.pageSize = pageSize;
    }


}
